/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.dnd;

import org.eclipse.gef.dnd.SimpleObjectTransfer;

// TODO: Auto-generated Javadoc
/**
 * The Class ObjectTransfer.
 * 
 * @author Chokri Mraidha
 */
public class ObjectTransfer extends SimpleObjectTransfer {
	
	/**
	 * The Constant OBJECTTYPENAME.
	 */
	public static final String UML_TRANSFER_OBJECT = "UML_transfer_object";
	
	/**
	 * The Constant OBJECTTYPEID.
	 */
	private static final int OBJECTTYPEID = registerType(UML_TRANSFER_OBJECT);
	
	/**
	 * The _instance.
	 */
	private static ObjectTransfer _instance = new ObjectTransfer();

	
	/**
	 * Gets the type names.
	 * 
	 * @return the type names
	 */
	protected String[] getTypeNames(){
		return new String[]{UML_TRANSFER_OBJECT};
	}

	
	/**
	 * Gets the type ids.
	 * 
	 * @return the type ids
	 */
	protected int[] getTypeIds(){
		return new int[] {OBJECTTYPEID};
	}
	
	/**
	 * Gets the instance.
	 * 
	 * @return the instance
	 */
	public static ObjectTransfer getInstance () {
		return _instance;
	}
	
}
